<?php
/**
 *专题公共板块
 */
if(have_posts()):the_post();
  //判断是否有上传专题商务通单独弹窗
  if(get_field('swt_img')){
    $swt_img=get_field('swt_img');
  }
  if(get_field('global')==1){
?>
        <div class="TwentyYrear">
            <h2><img src="<?php echo get_template_directory_uri(); ?>/images/20Year-title-one.png" alt="鹏爱22年20城 安全塑美千万例"></h2>
             <div class="TwentyYrear-title">
                 <div class="TwentyYrear-title-main">
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-left"></span>
                     <h4>专业化塑美团队</h4>
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-right"></span>
                 </div>
             </div>
             <div class="TwentyYrear-content">
                 <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-two-1.jpg" alt="国际化塑美团队">
             </div>
             <div class="TwentyYrear-title">
                 <div class="TwentyYrear-title-main">
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-left"></span>
                     <h4>塑美团队</h4>
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-right"></span>
                 </div>
             </div>
             <div class="TwentyYrear-content">
                 <div class="TwentyYrear-content-list">
                     <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-one.png" alt="鹏爱国际医生部正式成立">
                 </div>
                 <div class="TwentyYrear-inline_block clearfix">
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-two-2.jpg" alt="鹏爱国际医生部正式成立">
                     </div>
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-two-3.jpg" alt="鹏爱国际医生部正式成立">
                     </div>
                 </div>
             </div>
             <div class="TwentyYrear-title">
                 <div class="TwentyYrear-title-main">
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-left"></span>
                     <h4>鹏爱 · 技术</h4>
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-right"></span>
                 </div>
             </div>
             <div class="TwentyYrear-content">
                 <div class="TwentyYrear-content-list">
                     <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-three-1.jpg" alt="美国史塞克内窥镜隆胸技术">
                 </div>
                 <div class="TwentyYrear-inline_block clearfix">
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-three-2.jpg" alt="韩国逆生长·明星提拉术">
                     </div>
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-three-3.jpg" alt="">
                     </div>
                 </div>
             </div>
             <div class="TwentyYrear-title">
                 <div class="TwentyYrear-title-main">
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-left"></span>
                     <h4>鹏爱案例</h4>
                     <span class="TwentyYrear-separator-holder TwentyYrear-separator-right"></span>
                 </div>
             </div>
             <div class="TwentyYrear-content">
                 <div class="TwentyYrear-inline_block clearfix">
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-four-1.jpg" alt="小Angelababy蜕变之美">
                     </div>
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-four-2.jpg" alt="平胸模特变身出水芙蓉">
                     </div>
                 </div>
                 <div class="TwentyYrear-inline_block clearfix">
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-four-3.jpg" alt="大妈找回失去的青春">
                     </div>
                     <div class="TwentyYrear-content-list">
                         <img src="<?php echo get_template_directory_uri(); ?>/images/20Year-content-four-4.jpg" alt="“小柳岩”媲美真柳岩">
                     </div>
                 </div>
             </div>
             <div class="TwentyYrear-btn">
                 <a href="<?php the_field('swt_link','options');?>"><img src="<?php echo get_template_directory_uri();?>/images/btn3.jpg"></a>
             </div>
         </div>
<?php
  }elseif(get_field('global')==2){
?>
      <div class="TwentyYrear_three">
          <h2><img src="<?php echo get_template_directory_uri(); ?>/images/20Year-title-two.png" alt="鹏爱22年20城 安全塑美千万例"></h2>
          <div class="TwentyYrear_three-content-one">
              <img src="<?php echo get_template_directory_uri(); ?>/images/TwentyYrear_three-content-one.png" alt="鹏爱医生">
          </div>
          <div class="TwentyYrear_three-content-two">
              <img src="<?php echo get_template_directory_uri(); ?>/images/TwentyYrear_three-content-two.png" alt="鹏爱技术">
          </div>
          <div class="TwentyYrear_three-content-three">
              <img src="<?php echo get_template_directory_uri(); ?>/images/TwentyYrear_three-content-three.png" alt="鹏爱案例">
          </div>
          <div class="clear-TwentyYrear_two-bg">
              <div class="TwentyYrear-btn">
                  <a href="<?php the_field('swt_link','options');?>"><img src="<?php echo get_template_directory_uri();?>/images/btn1.jpg"></a>
              </div>
          </div>
          <div class="TwentyYrear_three-black"></div>
      </div>
<?php
  }elseif(get_field('global') == 3){
?>
<!-- html -->
<section class="TwentyYrear_add">
    <h2>匠心造星22年 · <span>塑美团队</span></h2>  
    <img src="<?php echo get_template_directory_uri(); ?>/images/TwentyYrear_ExpertTeam.jpg" alt="">
    <a href="javascript:void(0)" class="btn11" onclick="openZoosUrl('chatwin');">点击预约</a> 
    <h3>匠心造星22年 · <span>塑美案例</span></h3>  
    <img src="<?php echo get_template_directory_uri(); ?>/images/TwentyYrear_Cases.jpg" alt="">
    <a href="javascript:void(0)" class="btn11" onclick="openZoosUrl('chatwin');">来院塑美</a> 
</section>

<!-- end html  -->
<?php
  }
  endif;

  switch (get_field('team_global')) {
  	case '1':
 ?>
  		<div class="special_expert">
          <h4>鹏爱匠心造星22年</br>塑美团队</h4>
          <img  src="<?php echo get_template_directory_uri(); ?>/images/public_expert_1.jpg" alt="专家">
          <a href="javascript:void(0)" onclick="openZoosUrl('chatwin');" class="special_expert_btn">在线预约</a>
        </div>
 <?php
  		break;
  	case '2':
 ?>
        <div class="special_expert_2">
          <h4>鹏爱塑美团队·匠心造星22年</h4>
          <img  src="<?php echo get_template_directory_uri(); ?>/images/public_expert_2.jpg" alt="专家">
          <a href="javascript:void(0)" onclick="openZoosUrl('chatwin');" class="special_expert_btn">预约咨询</a>
        </div>
<?php
  		break;
  	default:
  		break;
  }
?>
